package com.avoid.easymqtt.remoting.netty;

/**
 * 描述
 *
 * @author avoid@fiture.com
 * @date 2022/4/29
 * @motto Life is so short,do something to make yourself happy,such as coding
 */
public class NettySystemConfig {

    public static final String COM_EASYMQTT_REMOTING_SOCKET_SNDBUF_SIZE = "com.easymqtt.remoting.socket.sndbuf.size";
    public static final String COM_EASYMQTT_REMOTING_SOCKET_RCVBUF_SIZE = "com.easymqtt.remoting.socket.rcvbuf.size";

    public static int socketSndbufSize =
        Integer.parseInt(System.getProperty(COM_EASYMQTT_REMOTING_SOCKET_SNDBUF_SIZE, "65535"));
    public static int socketRcvbufSize =
        Integer.parseInt(System.getProperty(COM_EASYMQTT_REMOTING_SOCKET_RCVBUF_SIZE, "65535"));

}
